home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / DOCS / GPFAXDOC.LHA / GPFaxPart2.doc < prev   
Text File  |  1994-11-27  |  86KB  |  1,944 lines

  1.  
  2. Part 2
  3.  
  4.  
  5.  
  6.  MANUAL TRANSMISSION FAXES
  7.  
  8.  You may also send faxes to people who do not have their facsimile
  9. machine on-line permanently. To do this, ensure that the number to dial
  10. is preceded by
  11.  
  12.                                   MAN!
  13.  
  14.  Select the faxes to be sent as above and select 'NOW'. GPFAX will create
  15. all required header and cover files and present you with the following
  16.  
  17.  *** See FIG 10 ***
  18.  
  19.  Dial the number manually with your normal phone (connected to the modem
  20. line), ask them to start their fax machine in receive mode and select the
  21. 'SEND' button.
  22.  
  23.  INACTIVITY TIMER
  24.  
  25.  When sending faxes, GPFax starts a safety timer of 180 seconds. This is
  26. reset when result codes are received from the modem. If for some reason
  27. the modem does not respond within the time (as can happen with some
  28. modems especially on unattended or scheduled faxes), GPFAX will attempt
  29. to terminate the call and hang up the phone.
  30.  
  31. *************************************************************************
  32. *                                                                       *
  33. *  Note: GPFax depends on the modem sending back the correct responses  *
  34. * as defined in the various standards. If the modem fails to respond    *
  35. * under certain conditions, this is a hardware fault with the modem and *
  36. * not specifically the responsibility of the GPFAX software.            *
  37. *                                                                       *
  38. *************************************************************************
  39.  
  40.                         GPFAX User Guide Page 58
  41.  
  42.                               RECEIVE FAXES
  43.  
  44.  Selecting the receive fax function will pick up the phone immediately
  45. and attempt to answer an incoming fax call (after initialising the modem
  46. if necessary). Unlike the 'AUTOANSWER' option, it does not wait until a
  47. 'RING' is detected from the modem.
  48.  
  49.  Receive fax is designed to complement the auto answer option allowing
  50. you to receive faxes manually. If the auto answer is not selected, this
  51. provides a method of switching between voice and fax calls - a human
  52. fax/voice switch! If the phone rings, lift the handset and listen for the
  53. characteristic guard tone or 'CALLING TONE' (CNG) of a fax machine. This
  54. is an 1100 Hz tone lasting for half a second which repeats every three
  55. seconds. If the cng is heard, initiate the fax session manually by
  56. selecting 'RECEIVE' then replace the handset.
  57.  
  58.  Incoming faxes are stored in the FAX_In directory under the names
  59. FAXxxx.pyy, where xxx is the next fax number in the sequence an the yy is
  60. the incremental page number for this receive session. For example, if the
  61. first fax received consisted of two pages, two files named FAX001.p01 and
  62. FAX001.p02 would be created on disk.
  63.  
  64.  At the end of the receive session a log book entry is made recording the
  65. results of the session. This contains the caller's ID, time of call,
  66. number of pages and the names of the fax files received (if any!) The
  67. received faxes may be viewed or printed directly from the log book or
  68. individually from the ~DISPLAY / PRINT FAX' option from the main menu.
  69.  
  70.  RECEIVE SECURITY
  71.  
  72.  If security is enabled, the caller's ID will be checked against the
  73. numbers in the phone book. If a match is found, the fax will be accepted
  74. and saved to disk. If no match found, the incoming data will be ignored.
  75.  
  76.                         GPFax User Guide Page 59
  77.  
  78.  
  79.                               VIEW REPORTS
  80.  
  81.  *** See FIG 12 ***
  82.  
  83.  VIEW REPORTS displays the 'log book' where the results of all attempted
  84. fax sessions are recorded.
  85.  
  86.  A log book entry consists of the time and date of the session, the ID
  87. sent by the calling station or the number or name to which the fax was
  88. sent, the elapsed time of the connection, the number of pages sent or
  89. received and the result of the session. Additionally, each entry contains
  90. an internal list of the specific files for each session.
  91.  
  92.  MOUSE AND KEYS
  93.  
  94.  As with all list displays, entries may be highlighted with the mouse, or
  95. the top row of the keyboard (keys 'I' through '='). A double click on any
  96. entry will display all the faxes associated with the highlighted entries.
  97.  
  98.  CURSOR KEYS and PGUP, PGDN, HOME and END scroll or jump scroll the
  99. displayed list. The option gadget responds to the key marked by the
  100. underscore.
  101.  
  102.                         GPFax User Guide Page 60
  103.  
  104.  TYPES OF DISPLAYED REPORTS
  105.  
  106.  The list of displayed reports may be toggled between showing all fax
  107. sessions, 'FAXALL', or only faxes sent 'FAXOUT' or only faxes received
  108. 'FAXIN'.
  109.  
  110.  VIEWING AND PRINTING
  111.  
  112.  To view all faxes associated with a particular log book entry, double
  113. click on the entry required. (This action will display all files in the
  114. tagged entries.) Also see the 'EXTENDED LOG REPORT' section below.
  115.  
  116.  To print copies of all faxes associated with a particular session or
  117. sessions, highlight the desired entry or entries and select 'PRTFAX'.
  118. This will perform a graphic dump of all fax files in the session to your
  119. printer.
  120.  
  121.  *** See FIG 13 ***
  122.  
  123.  When only a single entry is highlighted, GPFax provides the facility to
  124. print a range of the associated faxes. Enter the desired range and select
  125. 'OK'. This allows the printing of single pages from a multiple page
  126. received fax.
  127.  
  128. *************************************************************************
  129. *                                                                       *
  130. *  Note: At the time this manual went to press. Commodore's Postscript  *
  131. * printer driver (WorkBench 1.1/1) did not perform correct strip        *
  132. * printing of bitmap images.                                            *
  133. *                                                                       *
  134. *************************************************************************
  135.  
  136.  The 'LOGPRT' option produces a printed report of the log entries from
  137. the displayed list.
  138.  
  139.                         GPFax User Guide Page 61
  140.  
  141.  DELETING ENTRIES AND ASSOCIATED FAX FILES
  142.  
  143.  To delete entries from the log book, highlight the unwanted entries and
  144. select 'DELETE'. An option to delete the actual fax file from the disk is
  145. provided. Care should be exercised with this option since it is not
  146. possible to recover the files once they have been deleted!.
  147.  
  148.  Selecting 'NO' will simply remove the entry(s) from the log book and
  149. leave the actual file(s) on disk.
  150.  
  151.  THE PAGES FIELD
  152.  
  153.  The field shows the actual number of pages sent and the total number of
  154. pages in the session. For received faxes, only the total pages are
  155. displayed.
  156.  
  157.  THE RESULTS FIELD
  158.  
  159.  The results of each session are recorded with the following short
  160. descriptions. If the scheduler or an ARexx command created the log entry,
  161. the suffix '.S' will be added to the description. (See the 'SCHEDULER'
  162. section for further details)
  163.  
  164.   MODEM   The modem did not respond correctly or reported fatal errors
  165.           during the session. (Fatal error)
  166.  
  167.   NOMEM   The Amiga ran out of memory for some function during the
  168.           session. (Fatal error)
  169.  
  170.   ABORT   The session was aborted. (rare and fatal)
  171.  
  172.   NOANS   The remote fax machine did not answer. (Not fatal and generally
  173.           a retry will be attempted.)
  174.  
  175.   BUSY    The remote fax machine was engaged. (Not fatal.)
  176.  
  177.   FAIL    Undetermined error. Corrupt files etc. (Fatal)
  178.  
  179.                         GPFAX user Guide Page 62
  180.  
  181.   DISK?   Insufficient space to receive fax.
  182.  
  183.   TIME    GPFax's default timeout of 3 minutes ran out before modem
  184.           responded to commands during send fax.
  185.  
  186.   ERRxxx  (Class 2 Only) An error occurred during sending or receiving
  187.           fax data. This usually indicates that the connection failed.
  188.           The error number (xxx) will depend on your brand of modem and
  189.           the actual error. (See Appendix D about 'hangup codes'.)
  190.  
  191.           An error on incoming faxes usually indicates that there were
  192.           more pages to follow. The last received page may be garbled.
  193.  
  194.           An error when sending a fax usually indicates that the last
  195.           page was not sent correctly. For example, if the log reports
  196.           3/6 pages, two pages were received correctly at the remote site
  197.           but the third page may not have been.
  198.  
  199.   NO_EOP  The end of page handshaking failed. (ERR50)(Fatal)
  200.  
  201.   JUNK    The caller attempted to send you a fax but the caller's ID did
  202.           not match any entry in the phone book. This applies ONLY if
  203.           security enabled. The number ID of the caller will be displayed
  204.           in the identification field.
  205.  
  206.   OK      It actually worked!
  207.  
  208.   NOISY   Indicates that the modem could not obtain a successful training
  209.           signal to or from the remote fax machine (Fatal.) (CLASS 1
  210.           ONLY)
  211.  
  212.                         GPFAX User Guide Page 63
  213.  
  214.  EXTENDED LOG REPORTS
  215.  
  216.  *** SEE FIG 14 ***
  217.  
  218.  GPFAX stores more information in each log entry than is presented in the
  219.  
  220. simple report. To see this extra information, highlight the desired log
  221. entry (or multiple entries) and select the 'INFO' gadget.
  222.  
  223.  The complete path and file names of all the files associated with this
  224. log entry are also shown. If there are more than five files, use the
  225. scroll gadgets to move through the list.
  226.  
  227.  For Transmitted files, the number of pages actually sent is displayed
  228. followed by '+C' or 'NC' to indicate if a cover page was also
  229. transmitted.
  230.  
  231.  To view or print any of the specific files, highlight the desired file
  232. entry and selected 'PRTFAX' or 'VIEW'.
  233.  
  234.                         GPFax User Guide Page 64
  235.  
  236.  RE-TRANSMISSION OF FAXES
  237.  
  238.  From this extended log report you can choose to re-transmit any or all
  239. of the faxes from any log entry.
  240.  
  241.  For example, if a transmission failed due to line errors, you may wish
  242. to resend all the same files again or send just those pages which were
  243. not received at the remote site. As another example, you may wish to
  244. forward all the faxes to a third party.
  245.  
  246.  To re-transmit all or only selected files from the displayed log entry,
  247. highlight the files you wish to re-transmit and select the 'RESEND'
  248. gadget.
  249.  
  250.  This option enters the selected files into the transmit list, look up
  251. the phone number in the phone book, then displays the usual transmit
  252. window. (See the 'TRANSMIT FAX' section for more details.)
  253.  
  254.                         GPFax User Guide Page 65
  255.  
  256.                            DISPLAY/PRINT FAXES
  257.  
  258.  This function will display any fax, whether generated or received.
  259.  
  260.  You may create a list of the files to view from the file requester and
  261. each will be displayed in sequence.
  262.  
  263.  THE DISPLAYED FAX
  264.  
  265.  Because of the resolution of a fax, the display is best shown on an
  266. interlaced screen (512 pixels high for PAL and 400 for NTSC). We have
  267. chosen soft colours for the display but when viewing the fax on a
  268. standard monitor it may be useful to adjust the contrast and brightness
  269. of the monitor to minimise the flicker.
  270.  
  271.  Displaying faxes requires a considerable amount of the Amiga's graphic
  272. display or CHIP memory. The display routine has been written to make the
  273. best use of the available memory and GPFax will attempt to allocate
  274. sufficient CHIP memory to display the complete fax. This may require ut
  275. to 700K! If this fails, the program will progressively fall back to
  276. display as much as the page as possible. If it is not possible to obtain
  277. enough memory to display at least the first 256 lines of the fax, you
  278. will need to free some memory being used by other programs before
  279. retrying to display the fax.
  280.  
  281.  If the fax is longer than a standard A4 page (1144 line, or 2288 for
  282. fine mode), or if memory is restricted, only part of the complete fax
  283. will be shown. Select the 'MORE' gadget to display the next portion of
  284. the fax.
  285.  
  286.  Selecting ~NEXT', displays the next fax file in sequence (if any).
  287.  
  288.  INVERTING THE DISPLAY
  289.  
  290.  Often received faxes have been sent upside down. To view the fax in the
  291. correct orientation, select the 'INVERT' gadget.
  292.  
  293.                         GPFax User Guide Page 66
  294.  
  295.  RESIZING THE DISPLAY
  296.  
  297.  Initially the fax is displayed at full size, revealing the top left
  298. corner of the image. Scroll around the fax by moving the scroll gadget or
  299. by using the cursor and numeric keypad keys (PGUP, PGDN, HOME, END).
  300.  
  301.  Once displayed, the fax can be re-displayed at integer scales of 1:1,
  302. 1:2, or 1:4 (press keys '1', '2', or '4' on the main keyboard).
  303.  
  304. *************************************************************************
  305. *                                                                       *
  306. * Note: If there is insufficient memory, these options will be disabled *
  307. *                                                                       *
  308. *************************************************************************
  309.  
  310.  SAVING OR PRINTING
  311.  
  312.  A displayed fax can be printed or saved as an IFF picture file by
  313. selecting the 'PRINT' or 'SAVE IFF' gadgets.
  314.  
  315.  The current scale factor or invert status has no effect on the printed
  316. or saved data. If 'PRINT' or 'SAVE' is selected when only a partial fax
  317. is displayed, an option will be presented allowing you to use the
  318. complete image or just the partially decoded image currently displayed.
  319. It is possible to select portions of a large fax and print or save just
  320. those portions.
  321.  
  322.  The saved IFF picture is saved in two colours and is by definition 1728
  323. pixels wide. The height of the image depends on the particular fax but
  324. will generally be less than, or equal to, the maximum of 1144 pixels.
  325. (Double if in fine mode!)
  326.  
  327.                         GPFax User Guide Page 67
  328.  
  329.                               THE SCHEDULER
  330.  
  331.  By using the scheduler, faxes can be queued for transmission  at
  332. a later time,  maybe to take advantage of cheaper telephone charges.
  333.  
  334.  The scheduler may be toggled on or off fro the main `OPTIONS` menu. If
  335. the scheduler is turned off, faxes are simply, queued until the scheduler
  336. is next enabled. Also see the `OPTIONS` section for information on the
  337. `PRINT POPUP` FUNCTION WHICH ALSO USES THE SCHEDULER.
  338.  
  339.  Faxes are entered into the scheduler from the `PRINT POPUP` function or
  340. the `TRANSMIT FAX - LATER` option discussed previously.
  341.  
  342.  HOW THE SCHEDULER WORKS
  343.  
  344.  Once a scheduled transmission has been entered,GPFax looks up the
  345. schedule entries every minute and will attempt to send the fax if the
  346. scheduler is enabled. If the transmission is successful, an entry is made
  347. in the log book and the schedule entry is removed. GPFax will then look
  348. for the next schedule if there is one.
  349.  
  350.  If a schedule transmission fails, because the number was busy or did not
  351. answer, GPFax will re-schedule the transmission up to five (5) times by
  352. progressively adding either 1, 4, 9, 16 or 25 minutes to the schedule
  353. time. After five unsuccessful attempts, a failure will be reported in the
  354. log and schedule reports and no further attempts will be made.
  355.  
  356.  If the transmission fails with a fatal error, the schedule will be
  357. marked as a failure and no further attempts will be made.
  358.  
  359.  Failed schedules may be re-scheduled by editing the transmission times.
  360.  
  361.  SCHEDULED FAX COVER PAGES
  362.  
  363.  As discussed in the `TRANSMIT FAX -LATER` section, if the phone book
  364. entry associated with a schedule has a cover page selected, that cover
  365. page will be sent with the fax. Otherwise no cover page is transmitted.
  366.  
  367.                         GPFax User Guide Page 68
  368.  
  369.  EDITING FAX SCHEDULES
  370.  
  371.  *** See FIG 15 ***
  372.  
  373.  The fax schedules may be edited from the `SHOW SCHEDULES` main menu
  374. option. Only the time of the schedule may be changed, the phone number
  375. and list of fax files cannot be changed once a fax has been scheduled. If
  376. this is required, the schedule must be deleted and a new schedule entered
  377. from the `TRANSMIT FAX` facility.
  378.  
  379.  THE REPORT FIELD
  380.  
  381.  Just as with log book entries, the scheduler reports the results of each
  382. attempt to send the scheduled faxes.
  383.  
  384.     DUE      Transmission is now due.
  385.  
  386.     PENDING  Transmission is scheduled for a future time.
  387.  
  388.                         GPFax user Guide Page 69
  389.  
  390.     OVERDUE  Transmission time has passed and the fax will be sent at the
  391.              next opportunity.
  392.  
  393.     RETRY    Transmission failed because the number was busy or did not
  394.              answer. A retry has been scheduled for a later time.
  395.  
  396.     MAXTRY   Five attempts were made to send this fax but all failed. No
  397.              further attempts will be made until the user intervenes and
  398.              re-schedules this fax. Fatal.
  399.  
  400.     BADFILE  The file list for the schedule faxes was incomplete. GPFax
  401.              could not find all the files for this session. Maybe one of
  402.              the files had been deleted after the schedule had been
  403.              entered. Fatal.
  404.  
  405.     ERROR    Attempt failed. Maybe hardware or memory or other cause. See
  406.              log book entry for more details. Fatal.
  407.  
  408.     FAILED   Modem reported a line error or other undefined error during
  409.              the attempt to send this fax. Fatal.
  410.  
  411.  With most of the above, a report is also appended to the log book.
  412.  
  413.  VIEWING SCHEDULED FAXES
  414.  
  415.  To view the faxes associated with schedule, highlight the desired entry
  416. and select `VIEW`.
  417.  
  418.  Note that any associated cover page cannot be viewed. Only the main fax
  419. files can be displayed.
  420.  
  421.                         GPFax User Guide Page 70
  422.  
  423.  GPFax provides the option to iconify the program to minimise memory
  424. usage. Selecting `ICONIFY` closes down the main window and places a small
  425. icon on the WorkBench screen.
  426.  
  427.  To de-iconify and re-open the main program, double click on this icon.
  428.  
  429. ************************************************************************
  430. *                                                                      *
  431. *  Note: it is just possible that GPFax may be unable to re-open the   *
  432. * main display window from the iconified state. The cause of this is   *
  433. * insufficient memory. In such cases, GPFax just quits.                *
  434. *                                                                      *
  435. ************************************************************************
  436.  
  437.  Most of the functions of the program are available from the iconified
  438. state. GPFax will automatically receive and schedule transmissions while
  439. iconified. The printer driver also functions fully while the program is
  440. iconified.
  441.  
  442. ************************************************************************
  443. *                                                                      *
  444. *  Note: To automatically receive faxes while iconified, the           *
  445. * `AUTOANSWER` option must be enabled.                                 *
  446. *                                                                      *
  447. ************************************************************************
  448.  
  449.  While sending or receiving, GPFax will not open the normal status or
  450. error windows but will simply display a small window on the top of the
  451. WorkBench screen.
  452.  
  453.  USING PROGRAM FUNCTIONS WHILE ICONIFIED
  454.  
  455.  UNDER WORKBENCH 1.3
  456.  
  457.  When iconified under WorkBench 1.3, all functions except manual transmit
  458. and convert to fax may be performed by a double click on one of the icons
  459. created by GPFax. The phone book, log and scheduler reports may be
  460. displayed on the WorkBench screen by a double click on the appropriate
  461. icon. Note that any windows which appear on the WorkBench screen can only
  462. be moved, they cannot be depth arranged as `normal` Amiga WorkBench
  463. windows. Also, only the top-most window of any display is movable.
  464.  
  465.                         GPFax User Guide Page 71
  466.  
  467.  EXAMPLES: To view, double click on a FAX icon.
  468.  
  469.            To see reports of the last received fax, double click on the
  470.            last GPFax_log icon. This will display the log book and the
  471.            last received (or other) fax may be viewed and printed.
  472.  
  473.  UNDER WORKBENCH 2.0
  474.  
  475.  Under WorkBench 2.0, the icon displayed on the WorkBench screen is a
  476. special icon known as an `APPLICATION ICON`. It has the name `GPFax
  477. Dock`. All of the features of WorkBench 1.3 as discussed above will still
  478. work by double clicking. However, a more efficient approach is simply to
  479. `drop` any other icon on top of the `GPFax Dock` icon.
  480.  
  481.  For example, to convert a text or picture file to fax format, drag the
  482. required icon and drop it onto the `GPFax Dock1 icon. Providing the
  483.  
  484. program is not performing another operation, GPFax will sense this event
  485. and convert this file to fax format.
  486.  
  487.  Alternatively, drop any icon created by GPFax on to the application icon
  488. to view faxes or preform other functions.
  489.  
  490. ***********************************************************************
  491. *                                                                     *
  492. *  Note: These functions are not available if the `WB2 ICON` option   *
  493. * has been disabled. Also, if GPFax is busy with one task, the        *
  494. * application icon will not accept any more input.                    *
  495. *                                                                     *
  496. ***********************************************************************
  497.  
  498.                         GPFax User Guide Page 72
  499.  
  500.                          USING ARexx WITH GPFax
  501.  
  502.  We have provided GPFax with extensive ARexx capability to allow almost
  503. complete remote control of the program from an ARexx script file. Some
  504. sample files are included in the rexx_scripts directory on the master
  505. disk. All GPfax ARexx macros have the suffix `.gpf`.
  506.  
  507. **********************************************************************
  508. *                                                                    *
  509. *  Note: Before attempting to use these commands, consult an ARexx   *
  510. * manual for details on how to use ARexx!                            *
  511. *                                                                    *
  512. **********************************************************************
  513.  
  514.  THE ARexx PORT
  515.  
  516.  GPFax provides a public ARexx pot named `REXX_GPFAX`
  517.  
  518.  GENERAL NOTES
  519.  
  520.  RETURN CODE ERRORS
  521.  
  522.  When using ARexx with GPFax, all commands return the error code in the
  523. variable RC to ARexx as follows.
  524.  
  525.          Definition    Value    Notes
  526.  
  527.          RC_OK         0        success
  528.          RC_WARN       5        warning only
  529.          RC_ERROR      10       something`s wrong
  530.          RC_FATAL      20       complete or severe failure
  531.  
  532. *********************************************************************
  533. *                                                                   *
  534. *  It is VITAL that you check the ARexx return code (value of RC)   *
  535. * before continuing with any subsequent commands.                   *
  536. *                                                                   *
  537. *********************************************************************
  538.  
  539.  If no errors occurred, most commands return the result of the action in
  540. the ARexx variable RESULT
  541.  
  542. ************************************************************************
  543. *                                                                      *
  544. *  Important Note: GPFax Log Book                                      *
  545. *                                                                      *
  546. *  The log book in GPFax is designed to be optional for normal use of  *
  547. *  the program, to save disk/memory space. The ARexx commands make     *
  548. *  extensive use of the log book. You MUST ENSURE LOG REPORTING is     *
  549. *  turned on when using ARexx!                                         *
  550. *                                                                      *
  551. ************************************************************************
  552.  
  553.                         GPFax User Guide Page 73
  554.  
  555.  ARexx FUNCTION KEY MACROS
  556.  
  557.  GPFax provides the facility to attach a specific ARexx script to any of
  558. the ten shifted function keys. (The shifted function keys are used to
  559. make selection of these a positive action.)
  560.  
  561.  The function keys SHIFT F1 - SHIFT F10 will attempt to execute an ARexx
  562. script called `FuncXX.gpf` where XX is the number of the function key.
  563.  
  564.  For example SHIFT F5 will issue an ARexx command to run the script named
  565. `Func5.gpf`. This script must be in `GPFax:` directory or on the standard
  566. REXX path.
  567.  
  568.  SPECIAL INTERNAL ARexx FUNCTIONS
  569.  
  570.  GPFax provides two special ARexx operation as internal functions. These
  571. must be enabled from the `OPTIONS` menu.
  572.  
  573.  ARexx ON RECEIVE
  574.  
  575.  When a fax has been received successfully, GPFax will attempt to execute
  576. the ARexx script `Answer.gpf`. You may use this, to print out the log
  577. report or automatically print all the faxes received. Another use would
  578. be to re-transmit all received faxes to another number.
  579.  
  580.  AUTO DETECTION OF FAX OR DATA CALL (CLASS 2 ONLY)
  581.  
  582.  This function is designed to complement BBS software by allowing GPFax
  583. to act as a front end for sending and receiving faxes on the same line as
  584. BBS. Since answering a fax call has a time critical element, and a data
  585. call does not, it is often more efficient for GPFax to act as the front
  586. end for the BBS software rather than the other way round. The BBS
  587. software must support correct shared serial port access, including the
  588. facility to `unlisten` to incoming serial data. We are working with the
  589. authors of many of the common BBS packages to fully support this
  590. automatic fax/data feature.
  591.  
  592.                         GPFax User Guide Page 74
  593.  
  594.  
  595.  When answering the phone, Class 2 modems with GPFax can automatically
  596. differentiate between Fax and Data calls. This is called 'adaptive
  597. answer'. This feature can be enabled by selecting the 'AUTO FAX/DATA'
  598. button from the 'OPTIONS' menu.
  599.  
  600.  If it is not enabled, GPFax will simply hang up the modem if the
  601. incoming call is not a Fax call.
  602.  
  603.  If a data call is detected, GPFax will change the serial port speed to
  604. the reported baud rate from the modem (unless disabled by LOCKBAUD
  605. command) and wait for up to 10 seconds for a incoming serial character.
  606. It then attempts to transmit the contents of the file
  607. 'GPFAX:DATAMESSAGE.TXT'. This text file is designed to provide the caller
  608. with some general instructions about the BBS system she or he has
  609. connected to. (If the file does not exist in the GPFAX: directory the
  610. program will just continue.)
  611.  
  612.  If 'ARexx DATA' IS NOT ENABLED, the program then hangs up the modem.
  613.  
  614.  If 'ARexx DATA IS ENABLED, and the serial port is in shared mode, the
  615. program 'unlistens' the serial port and attempts to execute the ARexx
  616. command script named 'DATACALL.gpf'.
  617.  
  618.  This script should pass control to the BBS software. The ARexx command
  619. BAUDRATE can be used to established to actual connection baud rate if
  620. required.
  621.  
  622.  When the BBS software has finished its job, it should return control to
  623. the rexx script and thus back to GPFax. GPFax will then close the serial
  624. device and re-open it 0.5 secs later at 19200 baud or higher as set at
  625. startup (hence dropping DTR and disconnecting the caller safety). It will
  626. the re-initialise the modem to fax and start listening to the serial port
  627. again to continue normal operations.
  628.  
  629. *************************************************************************
  630. *                                                                       *
  631. *  WARNING: This function tells GPFax to UNLISTEN from the serial port  *
  632. * until this call returns. All GPFax serial events are blocked until    *
  633. * this ARexx script returns!                                            *
  634. *                                                                       *
  635. *************************************************************************
  636.  
  637.                         GPFax User Guide Page 75
  638.  
  639.  CASE OF TEXT STRINGS
  640.  
  641.  Be aware that a command such as SENDFILE<filename> TO <name> will pass
  642. the <name> parameter to GPFax in UPPERCASE. GPFax uses case sensitive
  643. name checking in the phone book. If this is a problem, use the command
  644. SENDFILE<filename> TO '<name>'. (See ARexx manual for more details)
  645.  
  646.  The following abbreviations are used in this section
  647.  
  648.                T    transmit
  649.                R    receive
  650.                A    all (both T & R)
  651.                P    printed
  652.              < >    parameter string
  653.              ( )    parameter is optional
  654.  
  655.  Commands which read log entries (e.g. 'VIEWLAST') can take an optional
  656. parameter of 'T' or 'R' to select between the Transmitted (FAX_OUT) and
  657. Received (FAX_IN) reports.
  658.  
  659.  If no parameters is given then the command defaults to R to Receive.
  660.  
  661.  GENERAL COMMANDS
  662.  
  663.   CONVERT     <file1, file2..> (Text or 2 colour IFF)
  664.               output files (file_TFAX.pxx) are placed in the currently
  665.               defined output directory. If RC=0 the RESULT=last generic
  666.               filepath.
  667.  
  668.   FAXTOIFF    <file1,file2..> (OUTDIR <dir> ALL)
  669.               output files (file_IFF) are placed in <file> directory
  670.               unless OUTDIR is defined. If a generic file name is used,
  671.               only the first file will be converted unless the ALL
  672.               parameter is given.
  673.  
  674.                         GPFax User Guide Page 76
  675.  
  676.   LASTFILE    (<R/P>)         (Default R)
  677.               The RESULT variable returns last file created by program
  678.               from receiving fax or printfax routines (i.e. FAXxxx,
  679.               PRTxxx)
  680.  
  681.   PRINTFAX    <file,file1...filen>*1
  682.  
  683.   VERSION     RESULTS variable = version string
  684.  
  685.   VIEWFAX     <file,file1...filen>*1
  686.  
  687.   QUITFAX     quits program
  688.  
  689.   COMPANYNAME <new company name>
  690.               This option has been requested by a number of business
  691.               users who operate different companies from the same phone
  692.               number. It is a simple mechanism to remotely change the
  693.               default company name in the GPFax environment. The cover
  694.               page and the one line header at the top of each page uses
  695.               the company name from the environment. This command allows
  696.               you to easily change the name displayed on the transmitted
  697.               cover page and fax header.
  698.  
  699. ************************************************************************
  700. *                                                                      *
  701. *       WARNINGS                                                       *
  702. *                                                                      *
  703. * a)  This command will change the actual company name in the GPFax    *
  704. *     environment. If you subsequently cause the environment to be     *
  705. *     saved by manually changing any of the environment or option      *
  706. *     settings, this new company name will be saved in the             *
  707. *      configuration.                                                  *
  708. *                                                                      *
  709. * b)  Normally, the company name displayed on any separate cover page  *
  710. *     generated by GPFax comes from the particular phone book entry    *
  711. *     being dialled. After you use this ARexx command, the cover page  *
  712. *     name will be taken from the environment, NOT the phone book      *
  713. *     entry.                                                           *
  714. *                                                                      *
  715. ************************************************************************
  716.  
  717.                         GPFax User Guide Page 77
  718.  
  719.  PROGRAM SWITCH COMMANDS
  720.  
  721.  The switch is optional. If RC=0 the command returns current setting or
  722. value in RESULT variable.
  723.  
  724.     AUTOANSWER    (<on/off>)
  725.     AUTOFAXDATA   (<on/off>)enables fax/data detection
  726.     IMAGESCALE    (<on/off>)
  727.     MODEMQUIET    (<on/off>)
  728.     PAGEMARKERS   (<on/off>)
  729.     PAGINATE      (<on/off>)
  730.     PRTDRIVER     (<on/off>)
  731.     PRTPOPUP      (<on/off>)
  732.     RESOLUTION    (<fine/std>)
  733.     REXXANSWER    (<on/off>)(Only functions if auto data selected)
  734.     REXXDATA      (<on/off>)
  735.     SCHEDULER     (<on/off>)
  736.     SECURITY      (<on/off>)
  737.     STAMPBOTTOM   (<on/off>)
  738.  
  739.     NOSYSREQ      (<on/off>)
  740.                   Turns of System Requester ("disk full" etc.) when
  741.                   executing ARexx commands.
  742.  
  743.                         GPFax User Guide Page 78
  744.  
  745.  SEND/RECEIVE FAX COMMANDS
  746.  
  747.   RECFAX  Immediately answer (send ATA) and start receive fax. If RC=0
  748.           then RESULT contains full log entry as with option (8) in
  749.           REPORTLOG below.
  750.  
  751.   SENDFAX <file1,file2..*1> TO <num1,num2...>(<groupname>)
  752.           RC variable records success or failure. If ANY file in the
  753.           sequence fails the rest are aborted. )Preferably send to ONE
  754.           number at a time and examine the log to see what happened.)
  755.  
  756.           <num> may be number or name or group. This is checked in the
  757.           phone book entry and cover page will be sent if the phone book
  758.           entry has one attached. Otherwise no cover page is sent.
  759.  
  760.           If no match is found for a number or name, the group name will
  761.           be checked and files sent to all in that group.
  762.  
  763.       *1  <file> if filename ends in .pxx then only a single file is
  764.           used. Otherwise the filename is treated as a 'generic' file
  765.           name and all pages with this name will be used.
  766.  
  767.  
  768. *************************************************************************
  769. *                                                                       *
  770. *  Note: If sending to multiple numbers (or group), if ANY fax fails    *
  771. * the command will be aborted and return error.                         *
  772. *                                                                       *
  773. *************************************************************************
  774.  
  775.                          GPFax User Guide Page 79
  776.  
  777.  LOG BOOK FUNCTIONS
  778.  
  779.   PRINTLOG REPORT  (<T/R/A>)(Default:A for All)
  780.                    print a list of log reports to printer (PRT:)
  781.  
  782.   REPORTLOG        (<T/R>)<RepNo>(Default: R)
  783.                 1  last generic filename (or NOFILE)
  784.                 2  total number of pages (number)
  785.                 3  last result of send or receive (7 characters)
  786.                 4  number to/from (20 characters)
  787.                 5  Date Time (20 char DAY MON DD:HH:MM:SS)
  788.                 6  transfer time (number)
  789.                 7  number of pages sent (number)
  790.                 8  all of above (order 3 4 6 7 2 5 1)
  791.  
  792.   VIEWLAST       (<T/R>) views last T/R files from log book (Default: R)
  793.  
  794.   PRINTLAST      (<T/R>) prints last T/R files from log book (Default: R)
  795.  
  796.  FONT AND MARGINS COMMANDS
  797.  
  798.  If any of below fail, the default GPFax font will be reset.
  799.  
  800.   FAXFONT        (<fontname><size>)(4>size<500)
  801.                  if RC=0 RESULT="fontname size LM RM LPP"
  802.  
  803.   MARGINS        (<LM> <RM>)(0 <LM <RM <200)
  804.                  if RC=0 then variable RESULT="LM RM"
  805.  
  806.   LINESPERPAGE   (<LPP>)(2 <LPP <300)
  807.                  if RC=0 then the variable RESULT="LPP"
  808.  
  809.                         GPFax User Guide Page 80
  810.  
  811.  After various suggestions from users we have extended the ARexx commands
  812. with new commands designed specifically for use with BBS programs such as
  813. TrapDoor and Getty for Amiga UUCP
  814.  
  815. *************************************************************************
  816. *                                                                       *
  817. *  Note1: ONLY the RECEIVENOW and FCONRECEIVE commands automatically    *
  818. * handle listen/unlisten. Other commands do not. You MUST specifically  *
  819. * listen or unlisten the serial device if required according to your    *
  820. * needs and that of other cooperating software also the serial port. If *
  821. * the serial device is not in the correct state an error will be        *
  822. * returned.                                                             *
  823. *                                                                       *
  824. *  Note2: Some commands either close the serial port or preform an      *
  825. * unlisten. If this is done, GPFax does not guarantee that the modem    *
  826. * has been correctly initialised and internally flags this fact. In     *
  827. * such cases, the next time the modem attempts to answer a call, it     *
  828. * will re-initialise the modem with the default initialise string.      *
  829. *                                                                       *
  830. *************************************************************************
  831.  
  832.  SPECIAL COMMANDS
  833.  
  834.   OPENSERIAL      Opens serial device, sets the default baud rate (19200
  835.                   if not set with the BAUDRATE command on startup) and
  836.                   starts listening to the serial port. Does not
  837.                   initialise modem.
  838.  
  839.   CLOSESERIAL     Closes the serial device and flags that modem is not
  840.                   initialised. (This will cause the modem to initialised
  841.                   when doing a manual receive or transmit.)
  842.  
  843.   INITMODEM       Sends to the modem the init sequence defined in the
  844.                   Environment plus other commands to initialise the modem
  845.                   to receive faxes. Serial port MUST be open!
  846.  
  847.                         GPFax User Guide Page 81
  848.  
  849.   UNLISTEN        stop serial monitor (SEND/RECEIVE disabled)
  850.  
  851.   LISTEN          start serial monitor
  852.  
  853. *************************************************************************
  854. *                                                                       *
  855. *  Note: These commands do what the suggest. `LISTEN` will NOT open the *
  856. * serial port or initialise the modem. If the serial port has been      *
  857. * closed, `LISTEN` will return an error. `UNLISTEN` also flags the fact *
  858. * that the modem initialisation is no longer valid.                     *
  859. *                                                                       *
  860. *************************************************************************
  861.  
  862.   LOCKBAUD       (<on/off>) (Default: Off) (Class 2 only)
  863.                  This switch determines whether GPFax changes to the
  864.                  incoming baud rate when DATA calls are detected. If the
  865.                  baud rate is locked, GPFax will keep the baud rate
  866.                  locked at 192000 or whatever rate was defined on
  867.                  startup.
  868.  
  869.   BAUDRATE       returns the baud rate of the current connection.
  870.  
  871.                  For use by data scripts an auto detection of a data
  872.                  connection. It is not possible to change the baud rate
  873.                  at which GPFax operates after you have started the
  874.                  program. If you wish to run at higher than 192000 you
  875.                  must set this when GPFax is first run.
  876.  
  877. ************************************************************************
  878. *                                                                      *
  879. *  Note: Do not confuse this with the BAUDRATE setting used in the     *
  880. * TOOLTYPE of the GPFax icon.                                          *
  881. *                                                                      *
  882. ************************************************************************
  883.  
  884.   SCHEDULEFAX    <TIME in MINS> <file,file> TO <num,num,..(group)>
  885.                  The command is effectively the same as sendfax but has
  886.                  extra parameter of TIME. The TIME variable is in minutes
  887.                  AHEAD of current time and the value must be greater than
  888.                  zero.
  889.  
  890.                         GPFax User Guide Page 82
  891.  
  892.   RESETSCHEDULES <TIME mins>
  893.                  this command resets all currently queued scheduled faxes
  894.                  to the current system time + TIME (The command does not
  895.                  check status of schedules. It resets all schedules
  896.                  irrespective of what the error was.)
  897.  
  898.   COVERPAGES     <ON/OFF>
  899.                  Allows you to determine and if cover pages are to be
  900.                  sent when using ARexx, send or schedule commands. If a
  901.                  phone number or group number is found in phone book and
  902.                  has an attached cover page, this setting allows you to
  903.                  override the default and not send the cover. (Default:
  904.                  ON.)
  905.  
  906.  RECEIVENOW and FCONRECEIVE (CLASS 2 ONLY)
  907.  
  908. ************************************************************************
  909. *                                                                      *
  910. *  Note: Because Class 1 modems have no consistent adaptive answer     *
  911. * standard, fax/data detection and associated functions are not        *
  912. * provided in the Class 1 version of GPFax. None of these ARexx        *
  913. * commands are available in the Class 1 version.                       *
  914. *                                                                      *
  915. ************************************************************************
  916.  
  917.  These are the two main commands for running GPFax in conjunction with
  918. BBS software and external `trapdoor` style or UUCP/Getty programs.
  919.  
  920.  When external program causes the modem to answer the phone, it must
  921. determine if the call is fax or data. The best method of detecting a fax
  922. call is to look for a +FCON command from the modem. GPFax provides two
  923.  
  924. commands to initiate receipt of a fax depending on exactly how the
  925. external program works.
  926.  
  927.  Both commands effectively perform the same operation, however, there are
  928. some very important differences between FCONRECEIVE and RECEIVENOW.
  929. FCONRECEIVE is designed to be called immediately after receiving the
  930. `+FCON` response from the modem. (At this point, the calling program must
  931. have the baud rate set to 192000 and must also be in `unlisten` mode.)
  932. GPFax will process any handshaking commands while waiting for the
  933.  
  934.                         GPFax User Guide Page 83
  935.  
  936.  subsequent `OK` from the modem before initiating the receive. On the
  937. other hand, RECEIVENOW does not wait for the `OK` and is designed to be
  938. called where the external program has received the `OK` from the modem
  939. AFTER the `+FCON`.
  940.  
  941.     The actual function of the commands are as follows
  942.  
  943.             Do a default LISTEN if required
  944.             begin receiving of faxes and save incoming files
  945.             do UNLISTEN
  946.             returns to calling rexx script
  947.  
  948.  CREATING ARexx SCRIPTS
  949.  
  950.  Creating an ARexx script to run from a BBS package which calls GPFax is
  951. not difficult problem but several aspects need to be considered. Before
  952. writing the script it is important to clearly map out the exact functions
  953. you expect each program to perform.
  954.  
  955.  With the FCONRECEIVE command, GPFax expects that the external program
  956. will be sent an 'ATA' (or auto answer) to the modem, has swallowed the
  957. FAX/DATA result to determined if it is a FAX call, then waited until a
  958. '+FCON' response has been received.
  959.  
  960.  Depending on exactly which external program you are using, it may be
  961. best to allow GPFax to send the main modem initialisation commands. This
  962. will ensure that the modem has been correctly set up to receive fax or
  963. data calls.
  964.  
  965. *************************************************************************
  966. *                                                                       *
  967. *  Note: It is important to realise that once GPfax has done the        *
  968. * initialisation, the modem should not be reset. i.e. Do not send an    *
  969. * 'ATZ' or similar command, switch off, or have any setting that will   *
  970. * cause the modem to be reset.                                          *
  971. *                                                                       *
  972. *************************************************************************
  973.  
  974.                         GPFax User Guide Page 84
  975.  
  976.  A sample setup would be
  977.  
  978.      run GPFAX with FAX/DATA modem set
  979.      wait for GPFax to startup (e.g. using 'waitforport')
  980.      send GPFax an UNLISTEN
  981.      run BBS and frontend
  982.       then
  983.             START
  984.                  wait for serial
  985.                  get RING
  986.                  issue ATA
  987.                  determine FAX or DAT
  988.                  if FAX response received
  989.                  wait for +FCON
  990.                  call GPFAX with FCONRECEIVE
  991.                  goto START
  992.  
  993.  With both FCONRECEIVE and RECEIVENOW, time delays can be critical. The
  994. fax call will not wait for more than about THREE SECONDS (MAX) to
  995. continue with fax reception.
  996.  
  997.  Be careful about the modem initialisation between Fax and Data calls.
  998. Under some circumstances, it also may be necessary to re-initialise the
  999. modem (using LISTEN/INITMODEM/UNLISTEN commands) after receiving the call
  1000. and especially after the external program makes data calls.
  1001.  
  1002.  USING GPFAX WITH TRAPDOOR OR GETTY
  1003.  
  1004.  The information supplied herein should be sufficient to get GPFax
  1005. working with TrapDoor v1.83 and FaxGETTY. The information should also
  1006. provide a basis for development of scripts to work with other programs
  1007. including DLG (with or without TrapDoor) and other BBS packages.
  1008.  
  1009.  Any people developing scripts which work with GPFax are urged to place
  1010. their scripts in the PUBLIC DOMAIN and send them to Richard Carde at
  1011.  
  1012. GPSoftware so they may be included in any new distributions. GPSoftware
  1013. can be contacted at the addresses shown elsewhere in this document.
  1014.  
  1015.                         GPFax User Guide Page 85
  1016.  
  1017. *************************************************************************
  1018. *                                                                       *
  1019. *  Note: The example scripts overleaf are examples only. Most likely    *
  1020. * you will need to modify these to suit your local conditions. If you   *
  1021. * have problems, contact Richard Carde at GPSoftware for more details   *
  1022. *                                                                       *
  1023. *************************************************************************
  1024.  
  1025.  SHELL SCRIPTS
  1026.  
  1027.  All AmigaDOS scripts mentioned in this document MUST have the 's'
  1028. (script) protection bit set and therefore you should be using a least
  1029. AmigaDOS 1.3 Shell. As we cannot test under every possible machine
  1030. configuration, it is advisable that you use a standard AmigaDOS 1.3 (or
  1031. higher) Shell.
  1032.  
  1033.  ARexx SCRIPTS
  1034.  
  1035.  ARexx will look for scripts in the default directory, from where the
  1036. GPFAX has been, and in the REXX: directory. It is advisable that all
  1037. scripts be located in GPFAX: directory and that you CD to GPFAX: before
  1038. executing the program.
  1039.  
  1040.  DEFINITIONS: MODEM CONFIGURATIONS, LISTEN AND UNLISTEN
  1041.  
  1042.  It is important that you understand your modem, it's configuration
  1043. settings and some things about handling the serial port on the Amiga. If
  1044. you do not know whether your modem supports DTE baud rate locking then
  1045. you should read your modem manual to understand what is meant by this
  1046. term. Most new high-speed modems support baud rate locking.
  1047.  
  1048. *************************************************************************
  1049. *                                                                       *
  1050. *   Note: We use the term 'baud rate' to refer to the connection speed  *
  1051. * between the computer (DTE) and the modem (DCE). In other words, the   *
  1052. * speed of the Amiga serial port. It is does not refer to the actual    *
  1053. * bits per second used by the modem when data is being sent or received *
  1054. * from a remote DCE. This will vary between 2400 b.p.s (bits per        *
  1055. * second) and 19200 b.p.s or higher depending on your modem and the     *
  1056. * quality of the phone line.                                            *
  1057. *                                                                       *
  1058. *************************************************************************
  1059.  
  1060.  BAUD RATE LOCKING
  1061.  
  1062.  Baud rate locking means that the communication speed (DTE speed) between
  1063. the computer and the modem is locked at a constant value (normally 19200
  1064.  
  1065.                         GPFax user Guide Page 86
  1066.  
  1067. for Fax), regardless of the modem to modem connection rate. (DCE speed).
  1068. The modem will buffer the data and sends it out at the DCE speed. Usually
  1069. the DCE speed is less than the DTE speed so the modem must control the
  1070. flow of data from the computer with some form of handshaking from the
  1071. computer with some form of handshaking to start and stop the flow of data
  1072. as required. Normally RTS/CTS hardware handshaking is used for Fax CLASS
  1073. 2 modems, and XON/XOFF for Fax Class 1 modems.
  1074.  
  1075.  LISTEN, UNLISTEN AND SHARED SERIAL PORTS
  1076.  
  1077.  The Amiga provides only a primitive mechanism for allowing multiple
  1078. programs to access the one serial port. However, this works well
  1079. providing all programs observe a few simple rules.
  1080.  
  1081.  Several programs can productively access to the Amiga's serial port at
  1082. once providing they all open the device using the 'SHARED SERIAL' option.
  1083. But only one program may effectively CONTROL the port at any given time.
  1084. Note that when two programs share the serial port, neither program will
  1085. be able to drop DTR to disconnect the modem while the other program still
  1086. has the serial device open. If you cannot use the '+++ATH' command
  1087. method, you will have to physically close the serial device on both
  1088. programs to drop DTR. (Don't forget to reopen it afterwards!)
  1089.  
  1090.  In order to process incoming data from the modem at high speed, a
  1091. program sends a request to the serial device for one character, then goes
  1092. to sleep (WAITs). When characters arrive at the port, the serial device
  1093. buffers them and notifies the calling program that a character is
  1094. available. After processing this character, and any other buffered
  1095. characters, the program then queues another request for one character and
  1096. returns to wait state. A program is said to be in 'LISTEN' mode when it
  1097. has such a queued request pending.
  1098.  
  1099.  
  1100.  When in listen mode, the serial port is effectively blocked from use by
  1101. other programs.
  1102.  
  1103.  If a second program wishes to access the port, the first program must be
  1104. told to cancel its waiting request and then not look at the port
  1105. (UNLISTEN), leaving it free for the use of the second program.
  1106.  The GPFax ARexx command LISTEN tells the program to watch (listen to)
  1107.  
  1108.                         GPFax User Guide Page 87
  1109.  
  1110. the serial port for serial data. As defined by the Fax standards,GPFax
  1111. sets the DTE-DCE speed at 19200 baud unless changed to a higher speed
  1112. when the program is first run. Therefore, when any application tells
  1113. GPFax to talk to the modem, it must ensure that the serial device baud
  1114. rate has been set to the same speed (192000 as is being used by GPFax.
  1115. Most fax modems automatically set the speed to 19200 baud when they enter
  1116. FAX mode. TrapDoor and FaxGETTY should have already set the modem speed
  1117. (19200) when control is passed to GPFax.
  1118.  
  1119.  UNLISTEN is the GPFax ARexx command which tells the program to stop
  1120.           waiting for serial data. This allows other programs to talk to
  1121.           the modem while GPfax is running (if in SHARED serial mode) but
  1122.           only AFTER you have issued the unlisten command.
  1123.  
  1124.  USING TRAPDOOR v1.80 AND GPFax
  1125.  
  1126.  To use TrapDoor v1.80 (any version less than 1.83), you need to use
  1127. GPFax to answer the incoming call. Versions of TrapDoor below version
  1128. 1.83 cannot answer FAX calls.
  1129.  
  1130.  Calls are answered in the following sequence:
  1131.  
  1132.   a. GPFAX  answers the call and determines if the call is a FAX or DATA
  1133.      connection.
  1134.  
  1135.   b. If the incoming is a FAX call, GPFAX processes the incoming fax and
  1136.      returns to wait for the next call.
  1137.  
  1138.   c. If the call is a DATA call, the DataMessage.txt file is displayed
  1139.      (if it exists) and then the DATACALL.GPF ARexx script is executed.
  1140.      That script should run trapdoor in ANSWER IMMEDIATE mode.
  1141.  
  1142.   d. If the DAT call is a FIDO MAIL call, trapdoor can handle it and then
  1143.      will return.
  1144.  
  1145.   e. If the DATA call is a user for the BBS, then you must
  1146.  
  1147.                         GPFax User Guide Page 88
  1148.  
  1149.      set up trapdoor to work with your BBS and modem configuration.
  1150.  
  1151.  The following config and scripts should be used if your modem supports
  1152. BAUD RATE LOCKING (e.g.: Supra, ZyXEL) and the baud rate used MUST be set
  1153. to 19200 unless the modem is capable of performing fax operation at a
  1154. higher speed (ZyXEL). You should also make sure GPFax is run in LOCKED
  1155. baud rate mode if your modem supports it, and that you interpret the
  1156. result of the BAUDRATE ARexx command correctly.
  1157.  
  1158.  GPFax MUST BE IN SHARED SERIAL MODE with the following options set:
  1159.  
  1160.        Auto/Answer
  1161.        FAX/DATA mode
  1162.        ARexx DATA
  1163.  
  1164. ---------- DATACALL.GPF script starts here ----------
  1165.  
  1166. /*
  1167.  * $VER: DataCall.GPF 0.03 (5.11.92) rsc
  1168.  * this script will start TRAPDOOR v1.80 or below
  1169.  */
  1170. options result
  1171. address REXX_GPFAX
  1172. baudrate
  1173. baud=result
  1174. address command `FIDO:trap/trapdoor` ANSWER IMMEDIATE
  1175.  
  1176. ----------script ends here ----------
  1177.  
  1178.  The following modifications are required when non-locking baud rate
  1179.  
  1180.                         GPFax User Guide Page 89
  1181.  
  1182. modem is used (e.g.: Maestro 9600XR Fax/Data modem) TrapDoor will require
  1183. a different config depending on baud rate used, and the LOCK command in
  1184. the TrapDoor.cfg must not be specified.
  1185.  
  1186. --------- DATACALL.GPF script starts here ----------
  1187.  
  1188. /*
  1189.  * $VER: DataCall.GPF 0.03 (5.11.92) rsc
  1190.  * this script will start TRAPDOOR v1.80 or below
  1191.  */
  1192. option results
  1193. address REXX_GPFAX
  1194. baudrate
  1195. baud=result
  1196. if (baud=300) then CONFIG="mail:TrapDoor300.cfg"
  1197. else if (baud=300) then CONFIG="mail:TrapDoor300.cfg"
  1198. else if (baud=1200) then CONFIG="mail:TrapDoor1200.cfg"
  1199. else if (baud=2400) then CONFIG="mail:TrapDoor2400.cfg"
  1200. else if (baud=4800) then CONFIG="mail:TrapDoor4800.cfg"
  1201. else if (baud=7200) then CONFIG="mail:TrapDoor7200.cfg"
  1202. else if (baud=9600) then CONFIG="mail:TrapDoor9600.cfg"
  1203. else if (baud=19200) then CONFIG="mail:TrapDoor19200.cfg"
  1204. else say "funny baudrate"
  1205. address command `trapdoor` `config` CONFIG ANSWER IMMEDIATE
  1206.  
  1207. --------- script ends here ----------
  1208.  
  1209.  Each of the MAIL:TrapDoor<baud>.cfg files should have the appropriate
  1210. BAUD keyword set and any other settings specific to the modem.
  1211.  
  1212. *************************************************************************
  1213. *                                                                       *
  1214. *  Note: The above procedures are NOT recommended. It is recommended    *
  1215. * that you obtain TRAPDOOR v1.83 and use it if you intend to use your   *
  1216. * fax modem with DAT/MAIL calls.                                        *
  1217. *                                                                       *
  1218. *************************************************************************
  1219.  
  1220.  USING TRAPDOOR V1.83 AND GPFax
  1221.  
  1222.  Using TrapDoor v1.83 and GPFax is quite simple. All that is required
  1223. are changes to two (2) lines of your TRAPDOOR.CFG file. It is necessary
  1224. for GPFAX to be in SHARED serial mode and already running is the
  1225. UNLISTENED state before TrapDoor is started. An INIT_FAX script is
  1226. supplied below to do this automatically.
  1227.  
  1228.  Some background on how things work:
  1229.  
  1230.  TrapDoor v1.83 has two new commands specifically for use with FAX. These
  1231. commands are FAXSTRING and FAXCOMMAND and work in the same way and the
  1232. BBSCOMMAND does.
  1233.  
  1234.  FAXSTRING should be set to "+FCON" and FAXCOMMAND set to "MAIL:rec_fax".
  1235. The REC_FAX script is listed below.
  1236.  
  1237.  This will instruct TRAPDOOR to start the MAIL:rec_fax script when the
  1238. string +FCON is received from the modem.
  1239.  
  1240.  TrapDoor`s baud rate should be set to 19200, however, for faster DATA
  1241. communications, the BAUD can be set to anything. If you have problems, we
  1242. advise that BAUD be set at 19200.
  1243.  
  1244.  The MAIL:rec_fax script is shown below and is a standard AmigaDOS script
  1245. which should have the `S` (script) bit set.
  1246.  
  1247.  We have presented below, two examples of different methods in handling
  1248. TrapDoor.
  1249.  
  1250.  The following script uses the LISTEN/UNLISTEN commands, and although
  1251. GPFax is UNLISTENED, it has the serial device open. Hence, your config
  1252. for TrapDoor would require MODEMHANGUP string to be "~+++~ATH|".
  1253.  
  1254.                         GPFax User Guide Page 91
  1255.  
  1256. --------- start of the MAIL:rec_fax script ---------
  1257.  
  1258. rx "address REXX_GPFAX fconreceive"
  1259. wait 5
  1260. ;
  1261. ;place other commands in here to automatically VIEW/PRINT/LOG any
  1262. ;activity
  1263. ;
  1264.  
  1265. --------- end of the MAIL:rec_fax script ---------
  1266.  
  1267.  The INIT_FAX script is shown below and can be EXECUTED or run if the `s`
  1268. bit is set.
  1269.  
  1270. --------- start of INIT_FAX ---------
  1271.  
  1272. ;
  1273. ;execute this to start GPFax and trapdoor
  1274. ;
  1275. cd gpfax:
  1276. run gpfax -nq -q
  1277. waitforport REXX_GPFAX
  1278. rx "address REXX_GPFAX unlisten"
  1279. run mail:bin/trapdoor answer
  1280. cd mail:
  1281.  
  1282. ---------- end of INIT_FAX ---------
  1283.  
  1284.  This second script uses the OPENSERIAL/CLOSE serial commands, and thus
  1285. will permit Trapdoor to use its"TOGGLE DTR" option to hang up any data
  1286. orientated calls.
  1287.  
  1288. --------- start of the MAIL:rec_fax script ---------
  1289.  
  1290. rx "address REXX_GPFAX openserial"
  1291. rx "address REXX_GPFAX fconreceive"
  1292. rx "address REXX_GPFAX closeserial"
  1293. wait 5
  1294. ;
  1295. ;place other commands in here to automatically VIEW/PRINT/LOG any
  1296. ;activity.
  1297. ;
  1298. ;
  1299.  
  1300. ---------- end of the MAIL:rec_fax script --------
  1301.  
  1302.                         GPFax User Guide Page 92
  1303.  
  1304.  The INIT_FAX script is shown below and can be EXECUTED or run if the `s`
  1305. bit is set.
  1306.  
  1307. --------- start of INIT_FAX ---------
  1308.  
  1309. ;
  1310. ;execute this to start GPFax and trapdoor
  1311. ;
  1312. cd gpfax:
  1313. run gpfax -np -q
  1314. waitforport REXX_GPFAX
  1315. rx "address REXX_GPFAX closeserial"
  1316. run mail:bin/trapdoor answer
  1317. cd mail:
  1318.  
  1319. --------- end of INIT_FAX ---------
  1320.  
  1321.  USING FaxGETTY AND GPFax
  1322.  
  1323.  Using FaxGETTY and GPFax is equally easy. All that is required are two
  1324. scripts, an appropriate UULIB:PASSWB file and standard UUCP set-up.
  1325.  
  1326.  Some background on how things work:
  1327.  
  1328.  FaxGETTY is different from the normal GETTY because it watches for a FAX
  1329. modem connection. When it receives a FAX connection, it looks for the
  1330. USER FAX in PASSWD file then runs a script to start whatever you want to
  1331. do get it going. This document covers only the FAX side of GETTY and
  1332. GPFAX and the general usage of GETTY.
  1333.  
  1334.  You will require a startup script for which can automatically set things
  1335. up for you and a script which initiates a FAX receive. The two scripts
  1336. are documented below:
  1337.  
  1338.                         GPFax User Guide Page 93
  1339.  
  1340. --------- startup script --------
  1341.  
  1342. ;execute this to start GPFax and FaxGETTY
  1343. ;
  1344. cd gpfax:
  1345. run gpfax -np -q ;start GPFax quietly without the printer driver
  1346. waitforport REXX_GPFAX
  1347. rx "address REXX_GPFAX unlisten"
  1348. cd uucp:
  1349. run >nil: <nil: uucp:c/getty -Mh -B2400 -d0 -F AT
  1350. ;run >nil: <nil: uucp:c/getty -Mh -B19200 -d0 -F AT
  1351. ;use the line above for SUPRA modem (19200 may be changed to higher
  1352. ;values for better throughput in DATA mode)
  1353. ;
  1354. ;end
  1355.  
  1356. --------- end of script --------
  1357.  
  1358.  GPFax is started in QUIET mode without the printer driver, so it does
  1359. not interfere with normal system running. GETTY is then started for a
  1360. Maestro modem which DOES NOT support baud rate locking. For more
  1361. information on the GETTY commands, read the FaxGetty.doc and Getty.doc
  1362.  
  1363.  An example of a UULIB:PASSWD entry could be:
  1364.  
  1365.     fax,*,0,0,MrFAX,GPFAX:,uucp:rec_fax
  1366.  
  1367.  and the rec_fax script (with the `s` or script bit set) could do the
  1368. following:
  1369.  
  1370. -------- start of uucp:rec_fax script --------
  1371.  
  1372. rx "address REXX_GPFAX FCONRECEIVE"
  1373. wait 5
  1374. ;do other logging stuff here
  1375.  
  1376. ------------ end of uucp:rec_fax script --------
  1377.  
  1378.                         GPFax User Guide Page 94
  1379.  
  1380.                           APPENDIX A - VIEWFAX
  1381.  
  1382.  THE VIEWFAX PROGRAM
  1383.  
  1384.  Along with GPFax, we have provided a small stand-alone program for
  1385. simple viewing and printing of any fax files stored in the CBM standard
  1386. FAXX IFF format. The 'ViewFax' program will allow you to view and print
  1387. all faxes created by GPFax and other programs.
  1388.  
  1389.  The program may be run from WorkBench or the CLI. Viewfax may also be
  1390. included as a command in directory utilities like Directory Opus or
  1391. DiskMaster, to provide a quick method of checking fax files.
  1392.  
  1393.  As with all our software, you may select the desired gadget function
  1394. with the mouse or by pressing the key corresponding to the first letter
  1395. of the gadget text. The cursor left and cursor right keys may be used to
  1396. scroll the display instead of using the slider gadget.
  1397.  
  1398.  To run the program from WorkBench, single click on one or more fax
  1399. icons, then while holding down the shift key, double click on the Viewfax
  1400. icon.
  1401.  
  1402.  Viewfax accepts the following TOOLTYPES
  1403.  
  1404.          LORES=TRUE      open non interlaced screen
  1405.          PRINTONLY=TRUE  print the file directly, do not view
  1406.          VERBOSE=TRUE    display file information
  1407.  
  1408.  To run the program from the CLI, enter
  1409.  
  1410.          Viewfax -<options><fax file name, fax file name, ...>
  1411.          where options are
  1412.                            -L open on non interlaced screen
  1413.                            -P print only, do not view
  1414.                            -V display file information
  1415.  
  1416.  NOTES ON SAVING FAXES
  1417.  
  1418.  To save the viewed fax as a IFF ILBM image , select the 'Save' gadget.
  1419.  
  1420.  If RUNNING UNDER WORKBENCH 2.0x, the standard ASL filerequester will be
  1421. displayed where you may select the path and file name.
  1422.  
  1423.  If RUNNING UNDER WORKBENCH 1.3, the file will automatically be saved in
  1424. the same directory as the fax file with the name .IFF appended.
  1425.  
  1426. *************************************************************************
  1427. *                                                                       *
  1428. *  DO NOT PRINT from GPFax while GPFax is running with the printer      *
  1429. * driver option                                                         *
  1430. *                                                                       *
  1431. *************************************************************************
  1432.  
  1433.                         GPFax User Guide Page 95
  1434.  
  1435.                            APPENDIX B - MODEMS
  1436.  
  1437.  TYPES OF MODEMS - CLASS 2 ONLY
  1438.  
  1439.  The GPFax class 2 version has been designed to conform to the draft
  1440. TR29.9 Class 2 fax standard (August '91) for sending and receiving faxes
  1441. with FAX/DATA modems. Unfortunately, the implementation of the standard
  1442. varies slightly between different modem manufacturers. If the software is
  1443. used with a Supra or Maestro modem, no extra settings are needed. (These
  1444. modems use chip set from Rockwell and XR.) However, if the software is
  1445. used with another brand of modem, some adjustments may be required.
  1446.  
  1447.  Under Class 2, GPFax expects the following
  1448.  
  1449.      Amiga to modem speed is locked at 19200 bits per second
  1450.      (The TR29.2 standard mandates 19200 but some modems can operate at
  1451.      higher speeds.)
  1452.      RTS/CTS handshaking must be enabled (&K3)
  1453.      Command echo should be disabled (E0)
  1454.      Verbose result codes (V1)
  1455.      Wait for dial tone before connect (X4)(except for manual send)
  1456.      Disconnect and return to command state with DTR transition (&D2)
  1457.      Manual Auto-Answer (SO=0)
  1458.  
  1459.  The default modem initialisation string is
  1460.  
  1461.      (For Supra use 'AT&F"E0', for ZyXEL use 'AT')
  1462.  
  1463.  With other brands of modems, if GPFax fails to correctly initialise the
  1464. modem (for example if the 'WHERE's THE MODEM message appears) it can
  1465. often be solved by simply changing the modem initialisation string to
  1466. enable the above settings correctly. Some modems have these values as
  1467. their default settings so no actual init string apart from AT is
  1468. required. (See 'ENVIRONMENT'.)
  1469.  
  1470.  FAX/DATA AUTO-DETECTION
  1471.  
  1472.  If enabled, GPFax will auto detect between fax and data calls. This
  1473. function operates correctly with most Class 2 Fax modems. (Supra, ZyXEL,
  1474. Maestro etc.). The functions depends on the modem responding in a
  1475. guaranteed manner when answering calls and therefore the function cannot
  1476. be guaranteed with all brands of modems.
  1477.  
  1478.                         GPFax User Guide Page 96
  1479.  
  1480.  TYPES OF MODEMS - CLASS 1
  1481.  
  1482.  The GPFax Class 1 version has been designed to support the T30 Class 1
  1483. fax standard for sending and receiving faxes with Fax/Data modems.
  1484. Unfortunately there are often minor variations in the implementation of
  1485. the standard from different modem manufacturers. See 'Loading GPFax' for
  1486. TOOLTYPES settings for selecting the correct modem type. If your modem is
  1487. not one of the types listed some adjustments may be required.
  1488.  
  1489.  Under Class 1, GPFax expects the following
  1490.  
  1491.      Amiga to modem speed is locked to 19200 bits per second.
  1492.      XON/XOFF handshaking is used.
  1493.      Command echo should be disabled (E0)
  1494.      Verbose result codes (V1)
  1495.      Wait for dial tone before connect (X4) (except for manual send)
  1496.      Disconnect and return to command state with DTR transition (&D2)
  1497.      Manual Auto-Answer (SO=0)
  1498.  
  1499.  The following default initialisation strings are used for various
  1500. modems.
  1501.  
  1502.      AVTEK (Rockwell 224ATF)       AT&F+C61E0B0X4&C1&D2&P1
  1503.      USRobotics                    ATE0V1X4&D2S0=0&H2&B1
  1504.      COMMA/SPIRIT (Analog devices) ATE0V1X4&D2*F2S0=0
  1505.  
  1506.  Please refer to the modem manual for more details.
  1507.  
  1508.  With other brands of modems, if GPFax fails to correctly initialise the
  1509. modem (for example if the 'WHERE's THE MODEM' message appears) it can
  1510. often be solved by simply changing the modem initialisation string to
  1511. enable the above settings correctly. (See 'ENVIRONMENT'.)
  1512.  
  1513.  FAX/DATA AUTO-DETECTION
  1514.  
  1515.  Because of different implementation in Class 1 modems, GPFax does not
  1516. support adaptive answer (automatic detection between fax and data) in
  1517. Class 1. Because of this Class 1 version does not support many of the
  1518. extra ARexx commands to allow use with BBS's. If you wish to use GPFax
  1519. with a BBS, use a Class 2 modem!
  1520.  
  1521.  SLOW MODEMS
  1522.  
  1523.  Some modems, such as those from USRobotics, will not accept the
  1524. initialisation commands at full 19200 speed. In these cases, use the
  1525. DELAY parameter in the TOOLTYPE to slow the transmission of characters.
  1526. The DELAY command adds a defined millisecond delay between characters.
  1527.  
  1528.                         GPFax User Guide Page 97
  1529.  
  1530.                           APPENDIX C - FAXX IFF
  1531.  
  1532.  The following is the C header file used by GPSoftware. It shows the
  1533. standard IFF Form for storage of FAXX data as registered with CATS at CBM
  1534. West Chester.
  1535.  
  1536. /***********************************************************************
  1537.  
  1538. *                FAX_IFF.H                                             *
  1539.  
  1540. *         Richard Carde and Dr Greg Perry-GPSoftware,                  *
  1541.  
  1542. *          21 Aloomba Rd Ashgrove Australia 4060. PH/Fax +61 7 3661402 *
  1543.  
  1544. *          UseNet: richardc@vogue.adsp.sub.org                         *
  1545.  
  1546. *                  gregp@gpsoft.adsu.org                               *
  1547.  
  1548. *          Issue 1     September 1991                                  *
  1549.  
  1550. ***********************************************************************/
  1551.  
  1552. /***********************************************************************
  1553.  
  1554. * FaxxIFF.h                                                            *
  1555.  
  1556. ***********************************************************************/
  1557.  
  1558. #define    ID_FAXX    Make ID('F','A','X','X')
  1559. #define    ID_FXHD    Make ID('F','X','H','D')
  1560. #define    ID_PAGE    Make ID('P','A','G','E')
  1561. #define    ID_FLOG    Make ID('F','L','O','G')
  1562.  
  1563. /* LineLength codes */
  1564.  
  1565. #define FXLNGSTD    215 /* 1728 pixels along std line Ing of 215mm     */
  1566. #define FXLNGLONG   215 /* 2084 pixels along opt line Ing of 255mm     */
  1567. #define FXLNGLONGER 215 /* 2432 pixels along opt line Ing of 303mm     */
  1568. #define FXLNGA5     215 /* 1216/1728 pixel along opt line Ing of 151mm */
  1569. #define FXLNGSA6    215 /* 864/1728 pixels along opt line Ing of 107mm */
  1570.  
  1571. /* VRes Codes */
  1572.  
  1573. #define FXVRESNORM  385 /* Normal resolution: 3.85 lines/mm  */
  1574. #define FXVRESFINE  770 /* Fine resolution: 7.7 lines/mm     */
  1575.  
  1576. /* Compression Cobes */
  1577.  
  1578. #define FXCMPHONE   0   /* No compression - available under Group IV */
  1579. #define FXCMPMH     1   /* One dimensional (MH) coding               */
  1580. #define FXCMPMR     2   /* Two dimensional (MH) coding               */
  1581. #define FXCMPMMR    4   /* Modified Two dimensional (MMR) coding     */
  1582.  
  1583.                         GPFax User Guide Page 98
  1584.  
  1585. struct FaxHeader {
  1586.  
  1587.        UWORD Width Height;  /* Image width and height, in pixels   */
  1588.        UWORD LineLength;    /* Scan line length, in millimetres    */
  1589.        UWORD VRes;          /* Vertical Resolution, in lines/100mm */
  1590.        UBYTE Compression;   /* Compression method                  */
  1591.        UBYTE Pad [11];      /* Room for expansion                  */
  1592. };
  1593.  
  1594. /*********************************************************************
  1595.  
  1596. *     define as FAX form for any Group 3 fax                         *
  1597.  
  1598. *********************************************************************/
  1599.  
  1600. #define ID_GPHD
  1601.  
  1602.  
  1603. #define VRES_STD   0   /* standard mode 98 DPI */
  1604. #define VRES_FINE  1   /* fine res 198 DPI     */
  1605.  
  1606. #define COMP_NONE  255 /* no compression - binary file  */
  1607. #define COMP_ID    0   /* 1-D modified HUFFMAN          */
  1608. #define COMP_2D    1   /* 2-D modified REED             */
  1609. #define COMP_2DU   2   /* 2-D uncompressed REED         */
  1610. #define COMP_2DM   3   /* 2_D modified modified REED    */
  1611.  
  1612.                    /* VR-std scan time VR-fine  */
  1613. #define ST_0_0MS   0   /* 0ms 0ms      */
  1614. #define ST_5_5MS   1   /* 5ms 5ms      */
  1615. #define ST_10_5MS  2   /* 10ms 5ms     */
  1616. #define ST_10_10MS 3   /* 10ms 10ms    */
  1617. #define ST_20_10MS 4   /* 20ms 10ms    */
  1618. #define ST_20_20MS 5   /* 20ms 20ms    */
  1619. #define ST_40_20MS 6   /* 40ms 20ms    */
  1620. #define ST_40_40MS 7   /* 40ms 40ms    */
  1621.  
  1622. #define PW_1728    0  /* 1728 pels in 215mm   */
  1623. #define PW_2048    1  /* 2048 pels in 255mm   */
  1624. #define PW_2432    2  /* 2432 pels in 303mm   */
  1625. #define PW_1216    3  /* 1216 pels in 151mm   */
  1626. #define PW_864     4  /* 865  pels in 107mm   */
  1627.  
  1628. #define PH_UNLIM   0  /* unlimited page length  */
  1629. #define PH_A4      1  /* A4 PAGE 297mm          */
  1630. #define PH_B4      2  /* B4 PAGE 364mm          */
  1631.  
  1632.                         GPFax User Guide Page 99
  1633.  
  1634. #define BR_2400    0  /* 2400 BITS PER SECOND   */
  1635. #define BR_4800    1
  1636. #define BR_7200    2
  1637. #define BR_9600    3
  1638. #define BR_12000   4
  1639. #define BR_14400   5
  1640.  
  1641. #define ECM_NONE   0  /* Error Correction Disabled  */
  1642. #define ECM_STD    1  /* Error Correction Enabled   */
  1643.  
  1644. #define BFT_NONE   0  /* Binary Transfer Disabled   */
  1645. #define BFT_STD    1  /* Binary Transfer Enabled    */
  1646.  
  1647. struct GPHD {
  1648.         UWORD      gp_Width;  /* width in pels
  1649.         UWORD      gp_Length; /* length / height in pels
  1650.         UWORD      gp_Page;   /* page number
  1651.         UBYTE      gp_ID[22]; /* id string 20 ch NULL term
  1652.  
  1653.         UBYTE      gp_VRES;               /* Vertical Res dpi     */
  1654.         UBYTE      gp_BitRate;            /* connection bit rate  */
  1655.         UBYTE      gp_PageWidth;          /* page width           */
  1656.         UBYTE      gp_PageLength;         /* page length/height   */
  1657.         UBYTE      gp_Compression;        /* compression method   */
  1658.         UBYTE      gp_ErrorCorrection;    /* compression method   */
  1659.         UBYTE      gp_BinaryFileTransfer; /* binary transfer mode */
  1660.         UBYTE      gp_ScanTime;           /* Scan Time ms         */
  1661.  
  1662.         struct DateStamp gp_Date;         /* date sent/received   */
  1663.         UBYTE      gp_Pad[10];
  1664. };
  1665.  
  1666.                         GPFax User Guide Page 100
  1667.  
  1668.                         APPENDIX D - HANGUP CODES
  1669.  
  1670.  GPFax (Class 2 version only) reports the status codes as sent by the
  1671. modem when sending and receiving faxes. The following is a list of those
  1672. codes expressed in hexadecimal. This actual error may not have much
  1673. meaning to you. ANY error generally means that the transmission FAILED!
  1674.  
  1675.  +------+---------------------------------------------------------+
  1676.  | CODE |       DESCRIPTION                                       |
  1677.  +------+---------------------------------------------------------+
  1678.  |      |                                                         |
  1679.  |      | 0-0F  Call placement and termination codes              |
  1680.  |  0   |       Normal and proper end of connection               |
  1681.  |  1   |       Ring detected without successful handshake        |
  1682.  |  2   |       Call aborted, from +FKS or <CAN>                  |
  1683.  |  3   |       No Loop Current                                   |
  1684.  |  4   |       Ringback detected, no answer timeout              |
  1685.  |  5   |       Ringback detected, answer without CED             |
  1686.  |      |                                                         |
  1687.  +------+---------------------------------------------------------+
  1688.  |      |                                                         |
  1689.  |      | 10-1F Transmit Phase A and miscellaneous errors         |
  1690.  | 10   |       Unspecified Phase A error                         |
  1691.  | 11   |       No Answer (T.30 T1 timeout)                       |
  1692.  |      |                                                         |
  1693.  +------+---------------------------------------------------------+
  1694.  |      |                                                         |
  1695.  |      | 20-3F Transmit Phase B Hangup Codes                     |
  1696.  | 20   |       Unspecified Transmit phase B error                |
  1697.  | 21   |       Remote cannot receive or send                     |
  1698.  | 22   |       COMREC error in transmit phase B                  |
  1699.  | 23   |       COMREC invalid command received                   |
  1700.  | 24   |       RSPREC error                                      |
  1701.  | 25   |       DCS send three times without response             |
  1702.  | 26   |       DIS/DTC received three times; DCS not recognised. |
  1703.  | 27   |       Failure to train at 2400 or +FMS value            |
  1704.  | 28   |       RSPREC invalid response received                  |
  1705.  |      |                                                         |
  1706.  +------+---------------------------------------------------------+
  1707.  |      |                                                         |
  1708.  |      | 40-4F Transmit phase C Hangup Codes                     |
  1709.  | 40   |       Unspecified Transmit Phase C error                |
  1710.  | 41   |       Unspecified Image format error                    |
  1711.  | 42   |       Image conversion error                            |
  1712.  | 43   |       DTE to DCT data underflow                         |
  1713.  | 44   |       Unrecognised transparent data command             |
  1714.  | 45   |       Image error: line length wrong                    |
  1715.  | 46   |       Image error: page length wrong                    |
  1716.  | 47   |       Image error: wrong compression code               |
  1717.  |      |                                                         |
  1718.  +------+---------------------------------------------------------+
  1719.  
  1720.                         GPFax User Guide Page 101
  1721.  
  1722.  +------+---------------------------------------------------------+
  1723.  | CODE |       DESCRIPTION                                       |
  1724.  +------+---------------------------------------------------------+
  1725.  |      |                                                         |
  1726.  |      | 50-5F Transmit Phase D Hangup Codes                     |
  1727.  | 50   |       Unspecified Transmit Phase D error                |
  1728.  | 51   |       RSPREC error                                      |
  1729.  | 52   |       No response to MPS repeated three time            |
  1730.  | 53   |       Invalid response to MPS                           |
  1731.  | 54   |       No response to EOP repeated three times           |
  1732.  | 55   |       Invalid response to EOP                           |
  1733.  | 56   |       No response to EOM repeated three times           |
  1734.  | 57   |       Invalid response to EOM                           |
  1735.  | 58   |       Unable to continue after PIN or PIP               |
  1736.  |      |                                                         |
  1737.  +------+---------------------------------------------------------+
  1738.  |      |                                                         |
  1739.  |      | 70-7F Receive Phase B Hangup Codes                      |
  1740.  | 70   |       Unspecified Receive Phase B error                 |
  1741.  | 71   |       RSPREC error                                      |
  1742.  | 72   |       COMREC error                                      |
  1743.  | 73   |       T.30 T1 timeout, expected page was not received   |
  1744.  | 74   |       T.30 T1 timeout after EOM received                |
  1745.  |      |                                                         |
  1746.  +------+---------------------------------------------------------+
  1747.  |      |                                                         |
  1748.  |      | 90-9F Receive Phase C Hangup Codes                      |
  1749.  | 90   |       Unspecified Receive Phase C error                 |
  1750.  | 91   |       Missing EOL after 5 seconds                       |
  1751.  | 92   |       Bad CRC or frame (ECM or BFT modes)               |
  1752.  | 93   |       DCE to DTE buffer overflow                        |
  1753.  |      |                                                         |
  1754.  +------+---------------------------------------------------------+
  1755.  |      |                                                         |
  1756.  |      | A0-BF Receive Phase D Hangup Codes                      |
  1757.  | A0   |       Unspecified Receive Phase D error                 |
  1758.  | A1   |       RSPREC invalid response received                  |
  1759.  | A2   |       COMREC invalid response received                  |
  1760.  | A3   |       Unable to continue after PIN or PIP               |
  1761.  |      |                                                         |
  1762.  +------+---------------------------------------------------------+
  1763.  |      |                                                         |
  1764.  |      | C0-FF - reserved codes -                                |
  1765.  |      |                                                         |
  1766.  +------+---------------------------------------------------------+
  1767.  
  1768.  Other errors are unspecified hardware errors.
  1769.  
  1770.                         GPFax User Guide Page 102
  1771.  
  1772.             ***** This page is intentionally left blank *****
  1773.  
  1774.                         GPFax User Guide Page 103
  1775.  
  1776.                                   INDEX
  1777.  
  1778.  ABORT                  62               SENDFAX                79
  1779.  Adaptive Answer        75, 38           SENDFILE               76
  1780.  Application icon       27, 40           STAMPBOTTOM            78
  1781.  ARexx                  27, 73           UNLISTEN               75, 82
  1782.   Case of Strings       76               VIEWFAX                77
  1783.   Creating Scripts      84               VIEWLAST               80
  1784.   Function Keys         74              ASCII Text Files To Fax 51
  1785.   GPFax Port            73              Assignments             19
  1786.   on Data               43              AutoAnswer              37, 59
  1787.   on Receive            43, 74          Automatic Paging        11
  1788.   Return Codes          73              BADFILE                 70
  1789.  ARexx Commands                         Baud rate               27
  1790.   AUTOANSWER            78              Baud rate locking       86
  1791.   AUTOFAXDATA           78              BBS                     74, 85
  1792.   BAUDRATE              75, 82          BUSY                    62
  1793.   CLOSESERIAL           81              Buttons                 21
  1794.   COMPANYNAME           77              Colours                 26
  1795.   CONVERT               76              Commodore 2024          26
  1796.   COVERPAGES            83              Company                 31, 77
  1797.   FAXFONT               80              Company Name            47
  1798.   FAXTOIFF              76              Convert to Fax          50
  1799.   FCONRECEIVE           83, 85          Cover Pages             56
  1800.   IMAGESCALE            78               Scheduled              68
  1801.   INITMODEM             81              Creating Faxes          12
  1802.   LASTFILE              77              Cursor Keys             22
  1803.   LINESPERPAGE          80              Custom screen           26
  1804.   LISTEN                82              DataCall script         43
  1805.   LOCKBAUD              82              DATACALL.GPF            90
  1806.   MARGINS               80              Deleting Files          62
  1807.   MODEMQUIET            78              Dial Mode               35
  1808.   NOSYSREQ              78              Disk Space              15
  1809.   OPENSERIAL            81              DISK!                   63
  1810.   PAPEMARKERS           78              Display Faxes           66
  1811.   PAGEINATE             78              DUE                     69
  1812.   PRINTFAX              77              Editing Schedules       69
  1813.   PRINTLAST             80              Environment             31
  1814.   PRINTLOGREPORT        80               Default                30
  1815.   PRTDRIVER             78              ERROR                   70
  1816.   PRTPOPUP              78              Error Messages          23
  1817.   QUITFAX               77              ERRxxx                  63
  1818.   RECEIVENOW            83, 85          Extended Log Report     64
  1819.   RECFAX                79              Facsimile machines       8
  1820.   REPORLOG              80              FAIL                    62
  1821.   RESETSCHEDULES        83              FAILED                  70
  1822.   RESOLUTION            78              FAX#                    48
  1823.   REXXANSWER            78              Fax Header              10, 31
  1824.   REXXDATA              78              Fax No                  32
  1825.   SCHEDULEFAX           82              Fax Resolution          10
  1826.   SCHEDULER             78
  1827.   SECURITY              78
  1828.  
  1829.                         GPFax User Guide Page 104
  1830.  
  1831.  
  1832.   Fax/Data               96             Installation           18
  1833.    ARexx                 74             Intercharacter delay   28
  1834.    FAX/DATA              39             JUNK                   63
  1835.   FAX_IN                 15, 59         Junk Fax               42
  1836.   FAX_OUT                15, 29, 54     LetterHead             32, 48
  1837.   FAXID                  32             Lines per Page         32, 34
  1838.   FaxOut                 24             Listen                 86
  1839.   FAXX IFF               98             Loading                26
  1840.   FAXxxx.Pyy             29, 59         Log Report             37
  1841.   Features                5             LogBook                60
  1842.   File names             54              ARexx                 73
  1843.   File Requester         23             Manual Receive Fax     59
  1844.   Floppy Drive Users     18             Manual Send            46, 58
  1845.   Fonts                  15, 33         Margins                10, 32
  1846.    Default               32              Text                  33
  1847.   Form Feeds             40             MAXTRY                 70
  1848.   Formatting Commands    51             Memory                 14, 66
  1849.   Function Keys          74             Mode
  1850.   Gadgets                21              Fax/Data              39
  1851.    Decision              21             Modem       5, 30, 34, 62, 86
  1852.    Information           20              adaptive Answer       75
  1853.    String                21              Class 1               97
  1854.   GETTY                  85              Class 2               96
  1855.   GPFax:                 19              incorrect responses   58
  1856.   GPFax_env              29              Initialisation        35, 96
  1857.   GPFax_log              29              Types                 28
  1858.   GPFax_pho              29              Quiet Mode            40
  1859.   GPFax_sch              29             Multitasking           14
  1860.   Group                  55             no-serial              30
  1861.    PhoneBook             45             NO_EOP                 63
  1862.   Group 3 Fax             8             NOANS                  62
  1863.    Huffman coding         8             NOISY                  63
  1864.    Theory                 8             NOMEM                  62
  1865.   Handshaking            14             Numeric Keypad         22
  1866.   Hangup Codes          101             Options                36
  1867.   Hard Drives            18             OVERDUE                70
  1868.   Iconified              27             PABX                   35
  1869.   Iconify                71             Page Markers           40
  1870.   Icons                  26             Page Mode              11
  1871.    Program Created       29             Page Size               8, 17
  1872.   IFF                    32             PageStream             13, 16
  1873.    Scaling               39             Pagination             34
  1874.   IFF Images                            Paging                 11, 39
  1875.    Converting            11             PENDING                69
  1876.   IFF Picture Files                     PenPal                 13
  1877.    converting to fax     50             Phone Book             44
  1878.   Image Scale            39             PhoneBook              55
  1879.   Imbedded commands      12, 51         Popup                  68
  1880.   Inactivity Timer       58             Postscript             61
  1881.   Initialization string  27             Preferences            16
  1882.  
  1883.                         GPFax User Guide Page 105
  1884.  
  1885.   Print Faxes            66, 12, 12     TFAX                   54
  1886.   Print Popup            68             TIME                   63
  1887.   Printer driver 10, 11, 12             ToolTypes              26
  1888.                  16, 17, 27, 37         Transmit Fax           54
  1889.   Printing               16             Trapdoor
  1890.    Faxes                 61              BBS Front End         85
  1891.    Form Feeds            40              V 1.80                88
  1892.    Popup                 38              V 1.83                91
  1893.   Professional Page      10             Unlisten               86
  1894.   ProWrite               13, 16         User Interface         20
  1895.   Prt Popup              37, 38         Versions                5
  1896.   PRTxxx.Pyy             29              CLASS 1               28, 63
  1897.   Re-Transmission of Fax 65              CLASS 2               27
  1898.   Receive - ARexx        74             View Mode              41
  1899.   Receive Fax            59             View Reports           60
  1900.   Received Faxes         17             View Scheduled Faxes   70
  1901.   Redial attempts        35             Viewfax Program        95
  1902.   Reporting              37             Viewing Faxes
  1903.   Reports                61, 69          screen resolution     41
  1904.    Extended              64             Voice#                 48
  1905.   Resolution             16             WB2 Icon               40
  1906.    fax                   66             WildCard               25
  1907.    Setting               43             Windows
  1908.   ReSort Phone Book      49              Error                 23
  1909.   Retry                  35, 70          File Requester        23
  1910.   Rings                  34              Popup                 38
  1911.    Silent Answer         39              Status                22
  1912.   Saving Fax As IFF      67             WorkBench Screen       26
  1913.   Scaling
  1914.    IFF Images            39
  1915.    letterhead            48
  1916.   Scheduler          37, 56, 68
  1917.    Editing               69
  1918.   Screen resolution
  1919.    Viewing Faxes         41
  1920.   Security           42, 49, 59
  1921.   Send Fax
  1922.    Immediate             56
  1923.    Manual                46
  1924.   Serial Device      14, 15, 27,30, 34, 81, 86
  1925.    Shared                35, 87
  1926.    Unit Number           34
  1927.   Signature              32, 48
  1928.   SILENT ANSWER          39
  1929.   Speed                  27, 46
  1930.   Stamp Bottom           40
  1931.   Status Windows         22
  1932.   SUPRA                  39, 96
  1933.   T:                     19
  1934.   Telecomms Software      7
  1935.   Text to fax            12
  1936.  
  1937.                         GPFax User Guide Page 106
  1938.  
  1939.                       -= Manual Supplied By GAZ =-
  1940.  
  1941.                 -= Typed and Edited by DIT 13 02 1994 =-
  1942.  
  1943.                      -= For FIREFLASH of SKIDROW =-
  1944.